<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<title>我的收藏</title>

</head>
<body>
	<!-- 商品展示 -->

	<div class="container-fluid ">
		<div class="row ">
			<c:forEach items="${col_lists}" var="coll" varStatus="status">

				<c:set var="goods_coll" value="${coll.goodsList}"></c:set>


				<div class="panel panel-default col-xs-5 col-sm-2 col-md-2 " style="margin: 21px;" >
					<div class="panel-body">

						<div class="row" >

							<a href="goods_details?goodsId=${goods_coll.goods_id}">

								<c:if test="${goods_coll.goods_img.substring(0,1) eq '/'}">
									<img class=" img-responsive " alt="img_detail" src="${goods_coll.goods_img}"
										 style="width: 190px; height: 190px;">
								</c:if>

								<c:if test="${goods_coll.goods_img.substring(0,1) ne '/'}">
									<img src="showGoodsPic?goodsImg=${goods_coll.goods_img}&userid=${goods_coll.user.userid}"
										 class=" img-responsive " alt="img_detail" style="width: 190px; height: 190px;">
								</c:if>

							</a>

							<p class="productPriceEm" >¥${goods_coll.goods_price}</p>
							<p class="productFont"><small>${goods_coll.goods_name}</small></p>
							<a>${goods_coll.user.nickname}</a>
							<small style="margin-left: 1%">${goods_coll.trade_place}</small>


							<a class="btn  btn-xs btn-danger col-md-offset-1 "
							   onclick="col_confirmdelete(${coll.col_id})">删除</a>

							<div class="row">


							</div>

						</div>
					</div>
				</div>
			</c:forEach>
	</div>
	</div>




</body>
</html>